# -*- coding:utf8 -*-
from django.core.urlresolvers import reverse

__author__ = 'Forcs'

from django.http import HttpResponseRedirect

from wancake.views import index
from wanbatvcom.http.decorators import check_login

@check_login()
def redirect_to_index(request):
    return HttpResponseRedirect(reverse(index))
